package com.lobstar.xrpc.example.services;

import com.lobstar.xrpc.example.bo.AUser;
import com.lobstar.xrpc.service.annotation.SMethod;
import com.lobstar.xrpc.service.annotation.SParam;

public class UserService {

	@SMethod("add_user")
	public AUser add(@SParam("user")AUser user) {
		System.out.println(user.getAge());
		return user;
	}
}
